<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>聊天界面</title>
    <link rel="stylesheet" href="./css/common.css">
</head>
<style>
    /* 背景 */
    .beijing {
        width: 100%;
        height: 100%;

        /* 背景图 */
        background-image: url(./img/bg.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;

        /* 背景图重叠 */
        position: absolute;
        /* 定位 */
        top: 0;
        left: 0;

        /* 设置z轴坐标 */
        z-index: -22;

        /* 虚化背景 */
        /* 滤镜只能加到div上 */
        filter: blur(1px);
        filter:brightness(30%)
    }

    .pic {
        display: flex;
        padding: 300px 500px;
    }

    .pic img {
        width: 80px;
        height: 80px;
    }
</style>

<body>
    <div class="beijing"></div>
    <div class="pic">
        <img onclick="app()"  src="./img/图标.png" alt="">
    </div>
    <script>
        function app() {

            location.assign("client.html")

        }

    </script>
</body>

</html>